<?php

	class category
	{
		var $name;
		var $description;
	
		function category($n, $desc)
		{
			$this->name = $n;
			$this->description = $desc;
			$this->update_DB();
		}
		function get_name()
		{
			return $this->name;
		}
		function get_description()
		{
			return $this->description;
		}
		function set_name($n)
		{
			$this->name = $n;
			$this->update_DB();
		}
		function set_description($desc)
		{
			$this->description = $desc;
			$this->update_DB();
		}
		function update_DB()
		{
			
		}
			
	}

?>